package com.ssy.lingxi.platform.template.service.service.mobile;

import com.ssy.lingxi.common.model.dto.UserLoginCacheDTO;
import com.ssy.lingxi.common.response.Wrapper;
import com.ssy.lingxi.platform.template.service.model.dto.common.IdDTO;
import com.ssy.lingxi.platform.template.service.model.dto.common.MemberIdAndRoleIdDTO;
import com.ssy.lingxi.platform.template.service.model.dto.mobile.ChannelMemberCategoryMobileDTO;
import com.ssy.lingxi.platform.template.service.model.vo.mobile.MobileCategoryVO;

import java.util.List;

/**
 *  mobile - 品类 - 业务处理层
 * @author fhj
 * @version 2.0.0
 * @date 2021/09/02
 */
public interface CategoryMobileService {

    Wrapper<List<MobileCategoryVO>> enterpriseCategory(IdDTO dto);

    Wrapper<Boolean> checkCategory(Long templateId, Long categoryId);

    Wrapper<List<MobileCategoryVO>> channelMemberCategory(ChannelMemberCategoryMobileDTO dto, UserLoginCacheDTO user);

    Wrapper<List<MobileCategoryVO>> selfMemberCategory(IdDTO dto, MemberIdAndRoleIdDTO midAndRId);
}
